home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / progs / editor / frexxed / docs / frexxed.faq < prev    next >
Text File  |  1996-07-23  |  12KB  |  315 lines

  1. Latest update: 960723
  2. ~~~~~~~~~~~~~~~~~~~~~
  3.         Frequently Asked Questions about FrexxEd
  4.         ========================================
  5.  
  6.   During the time we have developed FrexxEd, we have received similar
  7.   questions several times. Here the most frequently asked questions and
  8.   the answers to them:
  9.  
  10. 1. How to open a file from the prompt into an already running FrexxEd?
  11.  
  12. 2. Can't you add the function XXXXXX which is found in the editor XXXXXX?
  13.  
  14. 3. I want FrexxEd to XXXX when I press XXXX!
  15.  
  16. 4. Why isn't there any redo?
  17.  
  18. 5. Why use FPL when there is ARexx?
  19.  
  20. 6. How can I get FrexxEd to detach from the shell?
  21.  
  22. 7. I change some settings and save them, but they have no effect!
  23.    (i.e screen mode, fonts, screen/window sizes etc)
  24.  
  25. 8. Why does not return/enter in the search/replace requester jump to the next
  26.    string gadget instead of unactivate the current?
  27.  
  28. 9. How do I remove that annoying 'End Of File' string?
  29.  
  30. 10. How do I make FrexxEd read the file into a new buffer instead of inserting
  31.     when I drop an icon on the FrexEd AppIcon/AppWindow?
  32.  
  33. 11. Why isn't there any Amiga-symbol in the menu shortcuts?
  34.  
  35. 12. On which system configurations have you tested FrexxEd?
  36.  
  37. 13. I try to resize the FrexxEd window to cover the entire screen, but it
  38.     always resizes back a few pixels!!?
  39.  
  40. 14. I've found some non-localized strings in FrexxEd!
  41.  
  42. 15. Is it possible to get two views of the same file?
  43.  
  44. 16. How to I get FrexxEd to wordwrap?
  45.  
  46. 17. How do I get automatic C indent when loading .c and .h files?
  47.  
  48. 18. How do I change the colours of the syntax highlighting?
  49.  
  50. -------------------------------------------------------------------------------
  51.  
  52. 1. How to open a file from the prompt into an already running FrexxEd?
  53.   (like the CED "ed <filename>")
  54.  
  55.   Use the 'Freds' script!
  56.  
  57.   USAGE:
  58.  
  59.     Freds [FILENAME] [STICKY]
  60.  
  61.     Where:
  62.  
  63.     FILENAME -    Full path of file name to edit
  64.  
  65.     STICKY -    If the parameter STICKY is entered, the script will
  66.             wait until the loaded file is killed before exiting
  67.             to shell again.
  68.  
  69. ------------------------------------------------------------------------------
  70.  
  71. 2. Can't you add the function XXXXXX which is found in the editor XXXXXX?
  72.  
  73.     Before starting to ask questions like this, I urge you to read the
  74.   documentation regarding FPL and the Functions.guide manual, since FPL is a
  75.   very powerful controlling language of FrexxEd. Missing functions can very
  76.   often be programmed/configurated using FPL.
  77.  
  78.   If you have read those parts and still can't figure out a way to code it
  79.   in FPL, _then_ you should ask us that question!
  80.  
  81. ------------------------------------------------------------------------------
  82.  
  83. 3. I want FrexxEd to XXXX when I press XXXX!
  84.  
  85.     FrexxEd features the ability of assigning functions to keys. Therefore do
  86.   not ask questions regarding the postitioning of functions to certain key-
  87.   sequences since you can modify them all to suit your own taste.
  88.  
  89. ------------------------------------------------------------------------------
  90.  
  91. 4. Why isn't there any redo?
  92.  
  93.     The "redo" function that exist in CygnusEd (and other editors?) is not
  94.   included in FrexxEd since we think it's the wrong way of looking at the
  95.   undo concept.
  96.  
  97.     FrexxEd allows all changes made in the text of a buffer to be undone,
  98.   up to a certain amount of change. Each buffer records changes individually,
  99.   and the undo command always applies to the current buffer. Usually each
  100.   editing command makes a separate entry in the undo records, but some
  101.   commands such as `Replace()' make many entries, and very simple commands
  102.   such as self-inserting characters are often grouped to make undoing less
  103.   tedious.
  104.  
  105.     The command `amiga u' is how you undo. The first time you
  106.   give this command, it undoes the last change. Point moves to the
  107.   text affected by the undo, so you can see what was undone.
  108.  
  109.     Consecutive repetitions of the `amiga u' commands undo earlier
  110.   and earlier changes, back to the limit of what has been recorded. If
  111.   all recorded changes have already been undone, the undo command
  112.   prints an error message and does nothing.
  113.  
  114.     Any command that somehow changes the buffer breaks the sequence of
  115.   undo commands. Starting at this moment, the previous undo commands are
  116.   considered ordinary changes that can themselves be undone. Thus, you
  117.   can redo changes you have undone by typing `amiga shift u'
  118.   and then using more undo commands.
  119.  
  120.     If you notice that a buffer has been modified accidentally, the
  121.   easiest way to recover is to type `amiga u' repeatedly until the `C'
  122.   disappear from the front of the status line. At this time, all the
  123.   modifications you made have been cancelled. If you do not remember
  124.   whether you changed the buffer deliberately, type `amiga u' once, and
  125.   when you see the last change you made undone, you will remember why
  126.   you made it. If it was an accident, leave it undone. If it was
  127.   deliberate, redo the change as described in the preceding paragraph.
  128.  
  129.     Whenever an undo command makes the `C' disappear from the status
  130.   line, it means that the buffer contents are the same as they were
  131.   when the file was last read in or saved.
  132.  
  133. ------------------------------------------------------------------------------
  134.  
  135. 5. Why use FPL when there is ARexx?
  136.  
  137.   * ARexx provides an interprocess programming language interface.
  138.     FPL provides an internal interpreting language.
  139.  
  140.   * When using FPL, we don't have to interpret anything by ourselves, FPL
  141.     does it for us. ARexx is a language that requires a lot of extra
  142.     language coding within the program that uses it.
  143.  
  144.   * FPL communicates with direct function calls instead of sending
  145.     messages to messageports which gives more internal flexibility with
  146.     less overhead.
  147.  
  148.   * FPL is a platform independent language. FrexxWare intends to
  149.     release software under different operating systems and we want
  150.     continuity in the programming language. We want the same FrexxEd
  151.     scripts to work on the Amiga version as on the future possible
  152.     OS/2 and UNIX versions! FPL is easily ported to all modern
  153.     operating systems.
  154.  
  155.   * FPL is, quite subjective, a more powerful and complete programming
  156.     language.
  157.  
  158.   * It's not "yet another script language". It's 99% C. If you're
  159.     familiar with C, you can code FPL. In fact, I think most programming
  160.     people learn to code FPL faster than they learn ARexx. C is a
  161.     universal language, Rexx is (mainly) Amiga and OS/2.
  162.  
  163.   * FPL isn't a substitute for ARexx. It's a different language and
  164.     works as a complement to ARexx inside FrexxEd. FPL will (probably) never
  165.     be able to perform the same tasks as ARexx and vice versa. That's not
  166.     the idea either...
  167.  
  168. ------------------------------------------------------------------------------
  169.  
  170. 6. How can I get FrexxEd to detach from the shell?
  171.  
  172.   By using the standard AmigaDOS way: "run <>NIL: FrexxEd"
  173.  
  174.   Which under V37/V38 causes enforcer hits, and instead should be
  175.   written like: "run >NIL: <NIL: FrexxEd"
  176.  
  177. ------------------------------------------------------------------------------
  178.  
  179. 7. I change some settings and save them, but they have no effect!
  180.  
  181.   In FrexxEd versions prior to 1.5:
  182.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  183.   You must be very observant *not* to use the 'copy_wb' flag if don't want
  184.   FrexxEd to copy as much as possible from your workbench environment on
  185.   every startup! 'copy_wb' works just as well on any public screen.
  186.  
  187.   When you want to change local settings, save them and have them take effekt
  188.   on each startup, make sure you alter them with the 'All locals' setting
  189.   window.
  190.  
  191.   Since 1.5:
  192.   ~~~~~~~~~~
  193.   To make FrexxEd look like the public screen, CloneWB() must be used!
  194.  
  195. ------------------------------------------------------------------------------
  196.  
  197. 8. Why does not return/enter in the search/replace requester jump to the next
  198.    field instead of unactivate the current?
  199.  
  200.   Enter the following line to your user.FPL file:
  201.  
  202.   SetInfo(-1, "req_ret_mode", 1); /* CED-emulation style */
  203.  
  204. ------------------------------------------------------------------------------
  205.  
  206. 9. How do I remove that annoying 'End Of File' string?
  207.  
  208.   Run the following line as an FPL program:
  209.  
  210.     FACT(-1, 'S', "New string");
  211.  
  212. ------------------------------------------------------------------------------
  213.  
  214. 10. How do I make FrexxEd read the file into a new buffer instead of inserting
  215.     when I drop an icon on the FrexEd AppIcon/AppWindow?
  216.  
  217.   Put the following little program in a file and execute it:
  218.  
  219.         /* start of file */
  220.         export int Dropped(string file)
  221.         {
  222.           int id=New();
  223.           if(0>Load(file))
  224.             Kill(id);           /* failed loading */
  225.           else {
  226.             Activate(id);       /* popup a view */
  227.             CurrentBuffer(id);  /* make it the current */
  228.           }
  229.           return 1; /* stop the insert operation! */
  230.         }
  231.         Hook("IconDrop", "Dropped");
  232.         /* end of file */
  233.  
  234. ------------------------------------------------------------------------------
  235.  
  236. 11. Why isn't there any Amiga-symbol in the menu shortcuts?
  237.  
  238.   Because of the simple reason that the short cuts aren't put there the regular
  239.   menu-shortcut way, and therefor we can't access that symbol.
  240.   The shortcuts are visualized using our own custom routine for more control.
  241.   We want to be able to add unlimited shortcut strings to the menus with any
  242.   qualifiers.
  243.  
  244. ------------------------------------------------------------------------------
  245.  
  246. 12. On which system configurations have you tested FrexxEd?
  247.  
  248.   Machines:
  249.     A500(+), A600, A1200, A2000, A3000, A4000
  250.   AmigaDOS versions:
  251.     AmigaDOS V37-V40
  252.   Graphic modes/hardwares:
  253.     Retina, Spectrum, Piccolo, Picasso II, A2024, AGA, ECS, OCS
  254.   Processors:
  255.     MC68000-MC68060 (native and with different accellerators)
  256.   Memory amounts:
  257.     1MB-30MB RAM (chip/16bit/32bit)
  258.   Systems:
  259.     It has been used as window and screen in every thinkable screen mode, as
  260.     backdrop on public screens, as mail editor in Spot and likewise
  261.     applications.
  262.  
  263. ------------------------------------------------------------------------------
  264.  
  265. 13. I try to resize the FrexxEd window to cover the entire screen, but it
  266.     always resizes back a few pixels!!?
  267.  
  268.   The info variable "auto_resize" will, if enabled, force FrexxEd to use the
  269.   minimum size that fits the same number of lines and columns that is set by
  270.   the user. Disable "auto_resize" to stop all such attempts.
  271.  
  272. ------------------------------------------------------------------------------
  273.  
  274. 14. I've found some non-localized strings in FrexxEd!
  275.  
  276.   FrexxEd is a very modular system. "All" built-in strings in FrexxEd does
  277.   appear in the localized language. The drawback is that FrexxEd is very often
  278.   extended with FPL programs that supplies strings in only one language, and
  279.   sometimes there are messages from FPL appearing and those are in straight
  280.   english always (this is subject to change in a future FPL version).
  281.  
  282. ------------------------------------------------------------------------------
  283.  
  284. 15. Is it possible to get two or more views of the same file?
  285.  
  286.   Indeed! The menu brought to FrexxEd by Menu.FPL sets the key sequence
  287.   "Amiga d" to do the job. FrexxEd supports any number of views on the same
  288.   file. Read more details under View Concepts in FrexxEd.guide.
  289.  
  290. -------------------------------------------------------------------------------
  291.  
  292. 16. How to I get FrexxEd to wordwrap?
  293.  
  294.    For a true, word-processor style wordwrapping, there's a program called
  295.   WordPro.FPL you need to run, and then enable 'WordPro' for that particular
  296.   buffer.
  297.  
  298.   For a simpler and faster wordwrap, use WordWrap.FPL
  299.  
  300. -------------------------------------------------------------------------------
  301.  
  302. 17. How do I get automatic C indent when loading .c and .h files?
  303.  
  304.   Make sure you run "Cmode.FPL" at startup, in your User.FPL file or simply
  305.   before you wanna edit those files!
  306.  
  307.   For E syntax and indenting, see EMode.FPL
  308.  
  309. -------------------------------------------------------------------------------
  310.  
  311. 18. How do I change the colours of the syntax highlighting?
  312.  
  313.   Run FaceEdit.FPL (if not previously done) and select the menu item named
  314.   'Prefs->Program->Face Styles...'. Read more in FaceEdit.FPL.README
  315.